package com.atgugui.eduservice.entity.chapter;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 章节实体
 */
@Data
public class ChapterVo {
    @ApiModelProperty(value = "章节id")
    private String id;

    @ApiModelProperty(value = "章节名称")
    private String title;

    @ApiModelProperty(value = "章节下对应的小节")
    private List<VideoVo> children = new ArrayList<>();
}
